package com.pro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.pro.beans.Menu;

@Controller
public class MenuController{
	@RequestMapping("left.do")
	public String left(Model model){
//		model.addAttribute("menus", Menu.leftMenuList);
		return "left";
	}
//	@RequestMapping("index.do")
//	public String index(Model model){
//		model.addAttribute("menus", Menu.leftMenuList);
//		return "index";
//	}
	@RequestMapping("main.do")
	public String main(Model model){
		return "main";
	}
	
}